package edu.sctu.zhoumengxue.day201505.day20150506;

/**
 * Created by user12 on 2015/5/6.
 */
public class Create {

    protected int width,height;

    public Create(int a,int b)
    {
        width=a;
        height=b;
    }

    public void isCreate(){
        for (int i=width;i>0;i--)
            System.out.print("#");
        System.out.println();
        for (int i=height-2;i>0;i--){
            System.out.print("#");
            for(int j=width-2;j>0;j--)
                System.out.print(" ");
            System.out.print("#\n");
        }
        for(int i=width;i>0;i--)
            System.out.print("\n");
    }
}
